package com.treasure.mall.biz.repository.order;

import com.treasure.mall.biz.entity.order.SubOrderLogPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author allan
 * @date 2019-10-18
 */
@Repository
public interface SubOrderLogRepository extends JpaRepository<SubOrderLogPO, Long> {
    /**
     * 得到某个订单的订单日志
     *
     * @param subOrderId
     * @return
     */
    List<SubOrderLogPO> findBySubOrderId(String subOrderId);
}
